import axiosServer from '../utils/request'
//获取url列表
export const GetUrlList = (userID) => {
  return axiosServer({
    method: 'get',
    url: '/api/linkicon/obtain',
    params: { userID },
  })
}
//删除url
export const GetUrlListDelet = (_id) => {
  return axiosServer({
    method: 'get',
    url: '/api/linkicon/delete',
    params: { _id },
  })
}
//添加url
export const subUrlList = (userID, Linkaddress, Iconaddress,tit) => {
  return axiosServer({
    method: 'post',
    url: '/api/linkicon/add',
    data: { userID, Linkaddress, Iconaddress,tit},
  })
}
